package cn.cdtu.tibetplan.mapper;

import cn.cdtu.tibetplan.pojo.Demand;
import cn.cdtu.tibetplan.pojo.DemandExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DemandMapper {
    long countByExample(DemandExample example);

    int deleteByExample(DemandExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Demand record);

    int insertSelective(Demand record);

    List<Demand> selectByExampleWithBLOBs(DemandExample example);

    List<Demand> selectByExample(DemandExample example);

    Demand selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Demand record, @Param("example") DemandExample example);

    int updateByExampleWithBLOBs(@Param("record") Demand record, @Param("example") DemandExample example);

    int updateByExample(@Param("record") Demand record, @Param("example") DemandExample example);

    int updateByPrimaryKeySelective(Demand record);

    int updateByPrimaryKeyWithBLOBs(Demand record);

    int updateByPrimaryKey(Demand record);
}